Whether Ultrasonic Sensor Detects the Target

  • Function:

  • Description: determine whether ultrasonic sensor detects the target

  • Parameter:

    • direction: front, back, left, right
    • distance: pre-set distance
  • Return:
    • true: The obstacle has been detected.
    • false: The obstacle has not been detected.

results matching ""

    No results matching ""